IF( $player1 || $player2 || $player3 == $Username )
THEN
do_something();
ENDIF
IF( $Username == $player1 || $player2 || $player3 )
THEN
do_something();
ENDIF
IF( $Username == $player1)
THEN
do_something();
ELSE
IF( $Username == $player2)
THEN
do_something();
ELSE
IF( $Username == $player3)
THEN
do_something();
ENDIF
ENDIF
ENDIF
@echo off
rem ConvWr.exe -l licenseName -p pass -c coef -o outputFile
rem Or
rem ConvWr.exe -t idk -c coef -o outputFile
rem
rem coef = multiple coef possibility separated by ':'
rem ex : 100.5
rem : 100.5:101:101.5
rem licenseName = Your license Name
rem pass = Your pass of license Name
rem idk = it's your idk. you can obtain it on lfsworld 'My LFSW Setting'
rem
rem it's more safe to use idk instead of login/pass
rem ConvWr.exe -l yourLogin -p yourPass -o trackInfo.cfg -c 100.5:102 -mlc 200
ConvWr.exe -i [COLOR=red]Put_your_Ident-Key_here[/COLOR] -o trackInfo.cfg -c 100.5:102 -mlc 200
pause
@echo off
rem ConvWr.exe -l licenseName -p pass -c coef -o outputFile
rem Or
rem ConvWr.exe -t idk -c coef -o outputFile
rem
rem coef = multiple coef possibility separated by ':'
rem ex : 100.5
rem : 100.5:101:101.5
rem licenseName = Your license Name
rem pass = Your pass of license Name
rem idk = it's your idk. you can obtain it on lfsworld 'My LFSW Setting'
rem
rem it's more safe to use idk instead of login/pass
rem ConvWr.exe -l yourLogin -p yourPass -o trackInfo.cfg -c 100.5:102 -mlc 200
ConvWr.exe -i [COLOR=red]Put_your_Ident-Key_here[/COLOR] -o trackInfo.cfg -c 100.5:102 -mlc 200
pause
###########
#Handicaps#
###########
$HandicapCars = "[COLOR=red]car:mass:irest,car:mass:irest,...,car:mass:irest[/COLOR]";
Event OnToLowHandicap()
cmdLFS("/spec " . $Nickname );
cmdLFS("/msg " . $Nickname . "^3 spectated for to low handicap" );
cmdLFS("/msg ^3need " . $H_Mass . "kg and " . $H_TRes . "% of intake restriction!");
EndEvent
######################
#Authorization Options
######################
#$Auth1 = "XFG:BL1:1.30.10 | XRT:SO4:1.20.20";
#$Auth2 = "XFG:BL1:1.10.10 | XRT:SO4:1.20.20";
#$Auth3 = "XFG:BL1:1.05.10";
$AuthAllowPlayer = [COLOR=red]"@your_username";[/COLOR]
$AuthMinPlayer = 0; # Minimum number of players on the server to auto enable authorization
# If number of players is below value, alle players are allowed
# If number of players is above value, only AuthAllowPlayer are allowed
Event OnAuthAllowed()
Endevent
Event OnAuthNotAllowed()
IF( $P_Mass != $H_Mass )
THEN
cmdLFS("/spec " . $Nickname );
cmdLFS("/msg " . $Nickname . "^3 spectated for to high handicap" );
cmdLFS("/msg ^3need " . $H_Mass . "kg and " . $H_TRes . "% of intake restriction!");
ENDIF
IF( $P_TRes != $H_TRes )
THEN
cmdLFS("/spec " . $Nickname );
cmdLFS("/msg " . $Nickname . "^3 spectated for to high handicap" );
cmdLFS("/msg ^3need " . $H_Mass . "kg and " . $H_TRes . "% of intake restriction!");
ENDIF
Endevent
#################
#Control Allowed#
#################
# Racer flags
# "Y" = Yes
# "N" = No
# "*"" = Yes or No
# Local variable
# $PlayerFlags = The current Player flags
# $RequiredFlags = The current Required flags
#-------------------------------------------------------------------
$SwapSide = "*";
$AutoGears = "*";
$Shifter = "*";
$HelpBrake = "*";
$AxisClutch = "*";
$AutoClutch = "*";
$Mouse = "*";
$KbNoHelp = "*";
$KbStabilised = "*";
$CustomView = "*";
Event OnNotMatchFlags()
privMsg( "Flags not match required flags" );
privMsg("Yours flags -> " . $PlayerFlags );
privMsg("Required flags -> " . $RequiredFlags );
privMsg("Spectated" );
cmdLFS("/spec " . $Username );
EndEvent
[COLOR=red]/*[/COLOR]
Event DriftPBAction()
cmdLFS( "/rcm " . $Nickname . "^3 made new PB: ^1" . $DriftScore . " ^7pts!" );
cmdLFS( "/rcm_all" );
EndEvent
Event DriftPBAction()
cmdLFS( "/msg " . $Nickname . "^3 made new PB: ^1" . $DriftScore . " ^7pts!" );
EndEvent
[COLOR=red]*/[/COLOR]
Gai-Luron
MataGyula
@DefGroup:5:5:2
Gai-Luron
MataGyula
closePrivButton("config_bg&config_title&config_title_2&position_1a&position_1b&position_1c&position_1d&height_1a&height_1b&height_1c&split_1a&split_1b&split_1c&split_1d&new&config_close_a");
openGlobalButton( "logo",20,0,20,[COLOR=red]4[/COLOR],4,-1,[COLOR=red]0[/COLOR],"^1Sim^[COLOR=red]0[/COLOR]Racing.lt Race" );
EndSub
Sub OnConnectClose()
closePrivButton("welc&pos&clos&ref");
openPrivButton( "config_bg",50,50,100,56,5,-1,32,"" );
openPrivButton( "config_title",51,51,98,5,5,-1,0,"^3Configure pitboard^8" );
openPrivButton( "config_title_2",51,56,98,5,5,-1,0,"^3V1.3^8" );
openPrivButton( "position_1a",51,61,15,5,5,-1,64,"Position:" );
openPrivButton( "position_1b",67,61,10,5,5,-1,16,"^2Left^8",Pitboard_left );
openPrivButton( "position_1c",78,61,10,5,5,-1,16,"Right",Pitboard_right );
openPrivButton( "position_1d",89,61,10,5,5,-1,16,"Off",Pitboard_off );
openPrivButton( "height_1a",51,67,15,5,5,-1,64,"Height:" );
openPrivButton( "height_1b",67,67,10,5,5,-1,16,"^2High^8",Pitboard_high );
openPrivButton( "height_1c",78,67,10,5,5,-1,16,"Low",Pitboard_low );
openPrivButton( "split_1a",51,73,15,5,5,-1,64,"Splits:" );
openPrivButton( "split_1b",67,73,10,5,5,-1,16,"2",Pitboard_spl2 );
openPrivButton( "split_1c",78,73,10,5,5,-1,16,"^23^8",Pitboard_spl3 );
openPrivButton( "split_1d",89,73,10,5,5,-1,16,"4",Pitboard_spl4 );
openPrivButton( "new",51,83,98,5,5,-1,64,"^3V1.3: Pitboard can now be set to the rightside of the screen" );
openPrivButton( "config_close_a",94,100,10,5,5,-1,16,"CLOSE",Config_close_b );
EndSub
Sub Config_close_b()
closePrivButton("config_bg&config_title&config_title_2&position_1a&position_1b&position_1c&position_1d&height_1a&height_1b&height_1c&split_1a&split_1b&split_1c&split_1d&new&config_close_a");
openGlobalButton( "logo",20,0,20,4,4,-1,0,"^7Your Text" );
EndSub
#################################################
#Connect messages when a player joins the server#
#################################################
.
bla bla bla
.
Sub OnConnectClose()
closePrivButton("welc&pos&clos&ref");
openGlobalButton( "logo",20,0,20,4,4,-1,0,"^7Your Text" );
[COLOR=red]top ();[/COLOR]
EndSub
Sub OnConnectCloseKick()
closePrivButton("welc&pos&clos&ref");
cmdLFS("/kick " . $Username );
EndSub